<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AnyRouter - Claude Code API 中转服务</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .text-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .feature-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .step-number {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-weight: bold;
        }
        .mermaid {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
        }
        .drop-cap {
            float: left;
            font-size: 4rem;
            line-height: 1;
            font-weight: 700;
            margin-right: 0.5rem;
            margin-top: -0.2rem;
            color: #667eea;
            font-family: 'Noto Serif SC', serif;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20">
        <div class="container mx-auto px-6 text-center">
            <h1 class="text-5xl md:text-6xl font-bold mb-6">
                <i class="fas fa-route mr-4"></i>AnyRouter
            </h1>
            <p class="text-xl md:text-2xl mb-8 opacity-90">为开发者打造的 Claude Code API 中转服务</p>
            <div class="flex flex-wrap justify-center gap-4 mb-12">
                <a href="https://anyrouter.top/" target="_blank" class="bg-white text-purple-700 px-8 py-3 rounded-full font-semibold hover:bg-gray-100 transition">
                    <i class="fas fa-external-link-alt mr-2"></i>访问官网
                </a>
                <a href="https://code.wenwen-ai.com/" target="_blank" class="bg-transparent border-2 border-white text-white px-8 py-3 rounded-full font-semibold hover:bg-white hover:text-purple-700 transition">
                    <i class="fas fa-gift mr-2"></i>问问 Code (新用户赠30刀)
                </a>
            </div>
            <div class="max-w-3xl mx-auto text-lg opacity-80">
                突破地域限制，让每个开发者都能轻松使用 Claude Code
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <div class="container mx-auto px-6 py-12">
        <!-- Introduction Card -->
        <div class="bg-white rounded-2xl shadow-xl p-8 mb-12 card-hover">
            <p class="text-lg leading-relaxed text-gray-700">
                <span class="drop-cap">A</span>nyRouter 是一个为开发者提供 Claude Code API 访问的第三方平台，通过中转 Anthropic 的 API 服务，绕过地域限制。目标用户为预算有限的开发者、学生及开源项目团队，适合测试和轻量级开发。
            </p>
        </div>

        <!-- Core Features -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-center">
                <i class="fas fa-star text-gradient mr-3"></i>
                <span class="text-gradient">核心功能概述</span>
            </h2>
            <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-exchange-alt"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">API 中转服务</h3>
                    <p class="text-gray-600">通过 AnyRouter 访问 Claude Code，无需直接连接 Anthropic 服务器</p>
                </div>
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-gift"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">免费额度</h3>
                    <p class="text-gray-600">注册即获50美元 API 额度，邀请好友可额外获得50美元</p>
                </div>
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-layer-group"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">多模型支持</h3>
                    <p class="text-gray-600">支持 Claude 4 Opus 和 Sonnet，满足不同任务需求</p>
                </div>
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-terminal"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">终端与 IDE 集成</h3>
                    <p class="text-gray-600">兼容 VSCode 和 JetBrains，简化开发流程</p>
                </div>
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-calendar-check"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">签到奖励</h3>
                    <p class="text-gray-600">每日签到可获25美元额度，延长使用时长</p>
                </div>
            </div>
            <p class="text-center mt-8 text-lg text-gray-600 italic">
                <i class="fas fa-lightbulb mr-2 text-yellow-500"></i>
                如何将 AnyRouter 融入你的开发测试流程？
            </p>
        </section>

        <!-- Usage Scenarios -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-center">
                <i class="fas fa-rocket text-gradient mr-3"></i>
                <span class="text-gradient">使用场景</span>
            </h2>
            <div class="bg-white rounded-2xl shadow-xl p-8">
                <div class="grid md:grid-cols-3 gap-8">
                    <div class="text-center">
                        <div class="text-5xl mb-4 text-purple-600">
                            <i class="fas fa-coins"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-2">低成本开发</h3>
                        <p class="text-gray-600">学生或独立开发者使用免费额度测试 Claude Code 的代码生成功能</p>
                    </div>
                    <div class="text-center">
                        <div class="text-5xl mb-4 text-purple-600">
                            <i class="fas fa-code-branch"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-2">开源项目</h3>
                        <p class="text-gray-600">团队通过 AnyRouter 调用 API 进行代码审查，节省成本</p>
                    </div>
                    <div class="text-center">
                        <div class="text-5xl mb-4 text-purple-600">
                            <i class="fas fa-flask"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-2">快速原型验证</h3>
                        <p class="text-gray-600">利用 Sonnet 模型快速生成原型代码，验证项目可行性</p>
                    </div>
                </div>
                <p class="text-center mt-8 text-lg text-gray-600 italic">
                    <i class="fas fa-question-circle mr-2 text-blue-500"></i>
                    哪些开发任务能通过 AnyRouter 降低成本？
                </p>
            </div>
        </section>

        <!-- Advantages & Features -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-center">
                <i class="fas fa-trophy text-gradient mr-3"></i>
                <span class="text-gradient">优势与特色</span>
            </h2>
            <div class="bg-gradient-to-r from-purple-50 to-blue-50 rounded-2xl p-8">
                <p class="text-lg leading-relaxed text-gray-700 indent-8">
                    AnyRouter 提供 Claude Code 访问，优于直接订阅 Anthropic 的高成本服务，适合预算有限用户。其每日签到和邀请机制延长使用时间，支持国内直连无需代理。但平台透明度低，无明确团队信息，数据隐私存在潜在风险，建议仅用于非敏感项目。相比 OpenRouter，其推广力度更大但稳定性稍逊。
                </p>
            </div>
        </section>

        <!-- Cost & Requirements -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-center">
                <i class="fas fa-dollar-sign text-gradient mr-3"></i>
                <span class="text-gradient">使用门槛与成本</span>
            </h2>
            <div class="bg-white rounded-2xl shadow-xl p-8">
                <p class="text-lg leading-relaxed text-gray-700 indent-8">
                    需 GitHub 账户注册，免费提供50美元初始额度，邀请好友可增至100美元，每日签到加25美元。无明确付费计划，推广活动可能随时结束。国内用户可直连，但需 NodeJS 18+ 环境支持 Claude Code。
                </p>
            </div>
        </section>

        <!-- Getting Started Guide -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-center">
                <i class="fas fa-play-circle text-gradient mr-3"></i>
                <span class="text-gradient">上手指南</span>
            </h2>
            <div class="bg-white rounded-2xl shadow-xl p-8">
                <div class="space-y-6">
                    <div class="flex items-start">
                        <div class="step-number mr-4">1</div>
                        <div class="flex-1">
                            <p class="text-lg">用 GitHub 账户登录 <a href="https://anyrouter.top/" target="_blank" class="text-purple-600 hover:underline">https://anyrouter.top</a> 注册。</p>
                        </div>
                    </div>
                    <div class="flex items-start">
                        <div class="step-number mr-4">2</div>
                        <div class="flex-1">
                            <p class="text-lg">安装 NodeJS 18+，运行 <code class="bg-gray-100 px-2 py-1 rounded text-sm">npm install -g @anthropic-ai/claude-code</code>。</p>
                        </div>
                    </div>
                    <div class="flex items-start">
                        <div class="step-number mr-4">3</div>
                        <div class="flex-1">
                            <p class="text-lg">在 AnyRouter 的 Wallet 页面获取 API 密钥。</p>
                        </div>
                    </div>
                    <div class="flex items-start">
                        <div class="step-number mr-4">4</div>
                        <div class="flex-1">
                            <p class="text-lg">配置环境变量：</p>
                            <div class="bg-gray-100 p-3 rounded mt-2">
                                <code class="text-sm">export ANTHROPIC_AUTH_TOKEN=sk-...</code><br>
                                <code class="text-sm">export ANTHROPIC_BASE_URL=https://anyrouter.top</code>
                            </div>
                        </div>
                    </div>
                    <div class="flex items-start">
                        <div class="step-number mr-4">5</div>
                        